package com.luych.toolbox.common.feign.view.data.service;

import com.luych.toolbox.common.enums.DataCompareHistoryTableLevel;
import com.luych.toolbox.common.feign.FeignView;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("数据表对比差异")
public class DataCompareHistoryTableView extends FeignView {

    @ApiModelProperty("表1名称")
    private String tableOne;
    @ApiModelProperty("表2名称")
    private String tableTwo;
    @ApiModelProperty("表1注释")
    private String commentOne;
    @ApiModelProperty("表2注释")
    private String commentTwo;
    @ApiModelProperty("表1主键")
    private String primaryKeyOne;
    @ApiModelProperty("表2主键")
    private String primaryKeyTwo;
    @ApiModelProperty("差异级别")
    private DataCompareHistoryTableLevel level;
    @ApiModelProperty("差异内容")
    private String difference;
    @ApiModelProperty("字段1到字段2SQL")
    private String oneToTwo;
    @ApiModelProperty("字段2到字段1SQL")
    private String twoToOne;
    @ApiModelProperty("字段1到字段2SQL")
    private String oneToTwoLower;
    @ApiModelProperty("字段2到字段1SQL")
    private String twoToOneLower;
    @ApiModelProperty("字段1到字段2SQL")
    private String oneToTwoUpper;
    @ApiModelProperty("字段2到字段1SQL")
    private String twoToOneUpper;

    public String getTableOne() {
        return tableOne;
    }

    public void setTableOne(String tableOne) {
        this.tableOne = tableOne;
    }

    public String getTableTwo() {
        return tableTwo;
    }

    public void setTableTwo(String tableTwo) {
        this.tableTwo = tableTwo;
    }

    public String getCommentOne() {
        return commentOne;
    }

    public void setCommentOne(String commentOne) {
        this.commentOne = commentOne;
    }

    public String getCommentTwo() {
        return commentTwo;
    }

    public void setCommentTwo(String commentTwo) {
        this.commentTwo = commentTwo;
    }

    public String getPrimaryKeyOne() {
        return primaryKeyOne;
    }

    public void setPrimaryKeyOne(String primaryKeyOne) {
        this.primaryKeyOne = primaryKeyOne;
    }

    public String getPrimaryKeyTwo() {
        return primaryKeyTwo;
    }

    public void setPrimaryKeyTwo(String primaryKeyTwo) {
        this.primaryKeyTwo = primaryKeyTwo;
    }

    public DataCompareHistoryTableLevel getLevel() {
        return level;
    }

    public String getLevelValue() {
        return level == null ? null : level.getValue();
    }

    public void setLevel(DataCompareHistoryTableLevel level) {
        this.level = level;
    }

    public String getDifference() {
        return difference;
    }

    public void setDifference(String difference) {
        this.difference = difference;
    }

    public String getOneToTwo() {
        return oneToTwo;
    }

    public void setOneToTwo(String oneToTwo) {
        this.oneToTwo = oneToTwo;
    }

    public String getTwoToOne() {
        return twoToOne;
    }

    public void setTwoToOne(String twoToOne) {
        this.twoToOne = twoToOne;
    }

    public String getOneToTwoLower() {
        return oneToTwoLower;
    }

    public void setOneToTwoLower(String oneToTwoLower) {
        this.oneToTwoLower = oneToTwoLower;
    }

    public String getTwoToOneLower() {
        return twoToOneLower;
    }

    public void setTwoToOneLower(String twoToOneLower) {
        this.twoToOneLower = twoToOneLower;
    }

    public String getOneToTwoUpper() {
        return oneToTwoUpper;
    }

    public void setOneToTwoUpper(String oneToTwoUpper) {
        this.oneToTwoUpper = oneToTwoUpper;
    }

    public String getTwoToOneUpper() {
        return twoToOneUpper;
    }

    public void setTwoToOneUpper(String twoToOneUpper) {
        this.twoToOneUpper = twoToOneUpper;
    }
}